package com.jsh.erp.service.examine;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jsh.erp.datasource.entities.ExamineItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExamineItemService extends IService<ExamineItem> {
    /**
     * @param defaultNumber 根据defaultNumber查询出对应的入检数据
     * @return
     */
    List<ExamineItem> selDataByDefaultNumber(String defaultNumber,String returnReason);

    /**
     * 根据number得到对应已质检单的所有质检数量
     * @param
     * @return
     */
    Long getExamineNumber(String number);

}
